package com.james.customcamera;

import android.app.Application;
import android.content.Context;

import org.litepal.LitePalApplication;

/**
 * Created by James on 2018/1/31 0031.
 */

public class CustomCameraApplication extends LitePalApplication {
    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = this;

    }

    /**
     * @return 全局的上下文
     */
    public static Context getContext() {
        return mContext;
    }
}
